package org.demo.spring.ioc.model;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class Cat {

    private String name;

    private String colour;

    private int age;

    private List<String> loveEats;

    private Map<String,String> foods;

    private Set<String> friends;


    public void setLoveEats(List<String> loveEats) {
        this.loveEats = loveEats;
    }

    public void setFoods(Map<String, String> foods) {
        this.foods = foods;
    }

    public void setFriends(Set<String> friends) {
        this.friends = friends;
    }

    public String getName() {
        return name;
    }

    public String getColour() {
        return colour;
    }

    public int getAge() {
        return age;
    }

    public List<String> getLoveEats() {
        return loveEats;
    }

    public Map<String, String> getFoods() {
        return foods;
    }

    public Set<String> getFriends() {
        return friends;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "name='" + name + '\'' +
                ", colour='" + colour + '\'' +
                ", age=" + age +
                ", loveEats=" + loveEats +
                ", foods=" + foods +
                ", friends=" + friends +
                '}';
    }
}
